package psn.zjk.common.mq.rabbitmq;

public class D {
    private String status;

    public void a(String str) {
        status = str;
        //        ReentrantLock reentrantLock = new ReentrantLock();
        //        reentrantLock.lock();
        //        Condition condition = reentrantLock.newCondition();
        //        condition.await();
        //        Semaphore semaphore = new Semaphore(1);
        //        semaphore.acquire();
        //        semaphore.release();
        //
        //        CountDownLatch countDownLatch = new CountDownLatch(1);
        //        countDownLatch.await();
        //        countDownLatch.countDown();
        //
        //        CyclicBarrier cyclicBarrier = new CyclicBarrier(11);
        //        cyclicBarrier.await();
        //        Exchanger<String> objectExchanger = new Exchanger<>();
        //        String status=null;
        //        objectExchanger.exchange(status);
    }

    public String getStatus() {
        return status;
    }
}